<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Table 表格 - Easy Frame</title>
    <meta name="description" content="Updates and statistics">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <!--str:::全局css -->
    <link href="/assets/plugins/global/plugins.bundle.css" rel="stylesheet" type="text/css"/>
    <link href="/assets/css/demo1/style.bundle.css" rel="stylesheet" type="text/css"/>
    <!--end::全局css -->

    <link rel="shortcut icon" href="/assets/media/logos/favicon.ico"/>
</head>
<body class="e-page--loading">
<div class="e-content">
    <div class="row">
        <div class="col">
            <div class="alert alert-light alert-elevate fade show" role="alert">
                <div class="alert-icon"><i class="flaticon-warning e-font-brand"></i></div>
                <div class="alert-text">
                    基于<code>Bootstrap Tables</code>，可前往
                    <a class="e-link e-font-bold" href="https://getbootstrap.com/docs/4.3/content/tables/" target="_blank">查看详细API</a>
                </div>
            </div>
        </div>
    </div>

    <div class="row">
        <div class="col-xl-6">

            <!--begin::Card-->
            <div class="card">
                <div class="card-head">
                    <div class="card-head-label">
                        <h3 class="card-head-title">
                            基础
                        </h3>
                    </div>
                </div>
                <div class="card-body">

                    <!--begin::Section-->
                    <div class="e-section">
                        <div class="e-section-content">
                            <table class="table">
                                <thead>
                                <tr>
                                    <th>#</th>
                                    <th>姓名</th>
                                    <th>性别</th>
                                    <th>年龄</th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <th scope="row">1</th>
                                    <td>张三</td>
                                    <td>男</td>
                                    <td>18</td>
                                </tr>
                                <tr>
                                    <th scope="row">2</th>
                                    <td>李四</td>
                                    <td>男</td>
                                    <td>19</td>
                                </tr>
                                <tr>
                                    <th scope="row">3</th>
                                    <td>王五</td>
                                    <td>男</td>
                                    <td>20</td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>

                    <!--end::Section-->

                    <!--begin::Section-->
                    <div class="e-section">
                    <span class="e-section-info">
                        你可以在<code>table</code>上添加<code>.table-dark</code>设置深色风格
                    </span>
                        <div class="e-section-content">
                            <table class="table table-dark">
                                <thead>
                                <tr>
                                    <th>#</th>
                                    <th>姓名</th>
                                    <th>性别</th>
                                    <th>年龄</th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <th scope="row">1</th>
                                    <td>张三</td>
                                    <td>男</td>
                                    <td>18</td>
                                </tr>
                                <tr>
                                    <th scope="row">2</th>
                                    <td>李四</td>
                                    <td>男</td>
                                    <td>19</td>
                                </tr>
                                <tr>
                                    <th scope="row">3</th>
                                    <td>王五</td>
                                    <td>男</td>
                                    <td>20</td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>

                    <!--end::Section-->
                </div>

                <!--end::Form-->
            </div>

            <!--end::Card-->

            <!--begin::Card-->
            <div class="card">
                <div class="card-head">
                    <div class="card-head-label">
                        <h3 class="card-head-title">
                            表头风格
                        </h3>
                    </div>
                </div>
                <div class="card-body">

                    <!--begin::Section-->
                    <div class="e-section">
                    <span class="e-section-info">
                        你可以在<code>table</code>上添加<code>.thead-light</code> 或 <code>.thead-dark</code>设置灰色或深色表头
                    </span>
                        <div class="e-section-content">
                            <table class="table">
                                <thead class="thead-light">
                                <tr>
                                    <th>#</th>
                                    <th>姓名</th>
                                    <th>性别</th>
                                    <th>年龄</th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <th scope="row">1</th>
                                    <td>张三</td>
                                    <td>男</td>
                                    <td>18</td>
                                </tr>
                                <tr>
                                    <th scope="row">2</th>
                                    <td>李四</td>
                                    <td>男</td>
                                    <td>19</td>
                                </tr>
                                <tr>
                                    <th scope="row">3</th>
                                    <td>王五</td>
                                    <td>男</td>
                                    <td>20</td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>

                    <!--end::Section-->

                    <!--begin::Section-->
                    <div class="e-section">
                        <div class="e-section-content">
                            <table class="table">
                                <thead class="thead-dark">
                                <tr>
                                    <th>#</th>
                                    <th>姓名</th>
                                    <th>性别</th>
                                    <th>年龄</th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <th scope="row">1</th>
                                    <td>张三</td>
                                    <td>男</td>
                                    <td>18</td>
                                </tr>
                                <tr>
                                    <th scope="row">2</th>
                                    <td>李四</td>
                                    <td>男</td>
                                    <td>19</td>
                                </tr>
                                <tr>
                                    <th scope="row">3</th>
                                    <td>王五</td>
                                    <td>男</td>
                                    <td>20</td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>

                    <!--end::Section-->
                </div>
            </div>

            <!--end::Card-->

            <!--begin::Card-->
            <div class="card">
                <div class="card-head">
                    <div class="card-head-label">
                        <h3 class="card-head-title">
                            紧凑表格
                        </h3>
                    </div>
                </div>
                <div class="card-body">

                    <!--begin::Section-->
                    <div class="e-section">
                    <span class="e-section-info">
                        你可以在<code>table</code>上添加<code>.table-sm</code>设置紧凑表格
                    </span>
                        <div class="e-section-content">
                            <table class="table table-sm table-head-bg-brand">
                                <thead class="thead-inverse">
                                <tr>
                                    <th>#</th>
                                    <th>姓名</th>
                                    <th>性别</th>
                                    <th>年龄</th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <th scope="row">1</th>
                                    <td>张三</td>
                                    <td>男</td>
                                    <td>18</td>
                                </tr>
                                <tr>
                                    <th scope="row">2</th>
                                    <td>李四</td>
                                    <td>男</td>
                                    <td>19</td>
                                </tr>
                                <tr>
                                    <th scope="row">3</th>
                                    <td>王五</td>
                                    <td>男</td>
                                    <td>20</td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>

                    <!--end::Section-->
                </div>
            </div>

            <!--end::Card-->

            <!--begin::Card-->
            <div class="card">
                <div class="card-head">
                    <div class="card-head-label">
                        <h3 class="card-head-title">
                            条纹
                        </h3>
                    </div>
                </div>
                <div class="card-body">
                    <!--begin::Section-->
                    <div class="e-section">
                    <span class="e-section-info">
                        你可以在<code>table</code>上添加<code>.table-striped</code>设置条纹效果
                    </span>
                        <div class="e-section-content">
                            <table class="table table-striped">
                                <thead>
                                <tr>
                                    <th>#</th>
                                    <th>姓名</th>
                                    <th>性别</th>
                                    <th>年龄</th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <th scope="row">1</th>
                                    <td>张三</td>
                                    <td>男</td>
                                    <td>18</td>
                                </tr>
                                <tr>
                                    <th scope="row">2</th>
                                    <td>李四</td>
                                    <td>男</td>
                                    <td>19</td>
                                </tr>
                                <tr>
                                    <th scope="row">3</th>
                                    <td>王五</td>
                                    <td>男</td>
                                    <td>20</td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>

                    <!--end::Section-->
                </div>

                <!--end::Form-->
            </div>

            <!--end::Card-->
        </div>
        <div class="col-xl-6">

            <!--begin::Card-->
            <div class="card">
                <div class="card-head">
                    <div class="card-head-label">
                        <h3 class="card-head-title">
                            边框
                        </h3>
                    </div>
                </div>
                <div class="card-body">

                    <!--begin::Section-->
                    <div class="e-section">
                    <span class="e-section-info">
                        你可以在<code>table</code>上添加<code>.table-bordered</code>设置边框
                    </span>
                        <div class="e-section-content">
                            <table class="table table-bordered">
                                <thead>
                                <tr>
                                    <th>#</th>
                                    <th>姓名</th>
                                    <th>性别</th>
                                    <th>年龄</th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <th scope="row">1</th>
                                    <td>张三</td>
                                    <td>男</td>
                                    <td>18</td>
                                </tr>
                                <tr>
                                    <th scope="row">2</th>
                                    <td>李四</td>
                                    <td>男</td>
                                    <td>19</td>
                                </tr>
                                <tr>
                                    <th scope="row">3</th>
                                    <td>王五</td>
                                    <td>男</td>
                                    <td>20</td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>

                    <!--end::Section-->
                </div>

                <!--end::Form-->
            </div>

            <!--end::Card-->

            <!--begin::Card-->
            <div class="card">
                <div class="card-head">
                    <div class="card-head-label">
                        <h3 class="card-head-title">
                            Hover
                        </h3>
                    </div>
                </div>
                <div class="card-body">

                    <!--begin::Section-->
                    <div class="e-section">
                    <span class="e-section-info">
                        你可以在<code>table</code>上添加<code>.table-hover</code>设置Hover效果
                    </span>
                        <div class="e-section-content">
                            <table class="table table-bordered table-hover">
                                <thead>
                                <tr>
                                    <th>#</th>
                                    <th>姓名</th>
                                    <th>性别</th>
                                    <th>年龄</th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <th scope="row">1</th>
                                    <td>张三</td>
                                    <td>男</td>
                                    <td>18</td>
                                </tr>
                                <tr>
                                    <th scope="row">2</th>
                                    <td>李四</td>
                                    <td>男</td>
                                    <td>19</td>
                                </tr>
                                <tr>
                                    <th scope="row">3</th>
                                    <td>王五</td>
                                    <td>男</td>
                                    <td>20</td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>

                    <!--end::Section-->
                </div>

                <!--end::Form-->
            </div>

            <!--end::Card-->

            <!--begin::Card-->
            <div class="card">
                <div class="card-head">
                    <div class="card-head-label">
                        <h3 class="card-head-title">
                            行状态
                        </h3>
                    </div>
                </div>
                <div class="card-body">

                    <!--begin::Section-->
                    <div class="e-section">
                        <div class="e-section-content">
                            <table class="table">
                                <thead>
                                <tr>
                                    <th>#</th>
                                    <th>class</th>
                                    <th>性别</th>
                                    <th>年龄</th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr class="table-active">
                                    <th scope="row">1</th>
                                    <td>table-active</td>
                                    <td>男</td>
                                    <td>18</td>
                                </tr>
                                <tr class="table-success">
                                    <th scope="row">2</th>
                                    <td>table-success</td>
                                    <td>男</td>
                                    <td>20</td>
                                </tr>
                                <tr class="table-info">
                                    <th scope="row">3</th>
                                    <td>table-info</td>
                                    <td>男</td>
                                    <td>20</td>
                                </tr>
                                <tr class="table-warning">
                                    <th scope="row">4</th>
                                    <td>table-warning</td>
                                    <td>男</td>
                                    <td>20</td>
                                </tr>
                                <tr class="table-danger">
                                    <th scope="row">5</th>
                                    <td>table-danger</td>
                                    <td>男</td>
                                    <td>20</td>
                                </tr>
                                <tr class="table-primary">
                                    <th scope="row">6</th>
                                    <td>table-primary</td>
                                    <td>男</td>
                                    <td>19</td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>

                    <!--end::Section-->
                </div>

                <!--end::Form-->
            </div>

            <!--end::Card-->

            <!--begin::Card-->
            <div class="card">
                <div class="card-head">
                    <div class="card-head-label">
                        <h3 class="card-head-title">
                            响应式
                        </h3>
                    </div>
                </div>
                <div class="card-body">

                    <!--begin::Section-->
                    <div class="e-section">
                        <div class="e-section-info">
                            你可以在<code>table</code>上添加<code>.table-responsive</code>设置表格在小设备（768px以下）下你可以在<code>table</code>上添加水平滚动
                        </div>
                        <div class="e-section-content">
                            <div class="table-responsive">
                                <table class="table table-bordered">
                                    <thead>
                                    <tr>
                                        <th>#</th>
                                        <th>Table heading</th>
                                        <th>Table heading</th>
                                        <th>Table heading</th>
                                        <th>Table heading</th>
                                        <th>Table heading</th>
                                        <th>Table heading</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    <tr>
                                        <th scope="row">1</th>
                                        <td>Table cell</td>
                                        <td>Table cell</td>
                                        <td>Table cell</td>
                                        <td>Table cell</td>
                                        <td>Table cell</td>
                                        <td>Table cell</td>
                                    </tr>
                                    <tr>
                                        <th scope="row">2</th>
                                        <td>Table cell</td>
                                        <td>Table cell</td>
                                        <td>Table cell</td>
                                        <td>Table cell</td>
                                        <td>Table cell</td>
                                        <td>Table cell</td>
                                    </tr>
                                    <tr>
                                        <th scope="row">3</th>
                                        <td>Table cell</td>
                                        <td>Table cell</td>
                                        <td>Table cell</td>
                                        <td>Table cell</td>
                                        <td>Table cell</td>
                                        <td>Table cell</td>
                                    </tr>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>

                    <!--end::Section-->
                </div>

                <!--end::Form-->
            </div>

            <!--end::Card-->
        </div>
    </div>
</div>
<!--str:: 全局js -->
<script src="/assets/plugins/global/plugins.bundle.js"></script>
<script src="/assets/js/demo1/scripts.bundle.js"></script>
<!--end:: 全局js -->
</body>
</html>